#ifndef __SERVER_H__
#define __SERVER_H__

#include "lnthread.h"

enum
{
  SERVRE_NONE  = 0  ,
  SERVER_QUERY      ,
  SERVER_DATA     ,
  SERVER_MASTER
};

struct server_t
{
  const char db[64];
  const char user_name[64];
};

struct server_t * server_new(int port, int thread_count);

#endif